﻿using AJWPFAdmin.Core.Models.EF.Tables;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AJWPFAdmin.Core.Interfaces
{
    public interface IDbServiceBridge : IDisposable
    {
        DbSet<SystemConfigDictionary> SystemConfigDictionaries { get; set; }
        DbSet<ManualPassRecord> ManualPassRecords { get; set; }
        DbSet<Watchhouse> Watchhouses { get; set; }
        DbSet<Passageway> Passageways { get; set; }
        DbSet<Device> Devices { get; set; }

        int SaveChanges();
    }
}
